[INFO] fetching crate gchdb 0.2.8...
[INFO] testing gchdb-0.2.8 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] extracting crate gchdb 0.2.8 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate gchdb 0.2.8
[INFO] finished tweaking crates.io crate gchdb 0.2.8
[INFO] tweaked toml for crates.io crate gchdb 0.2.8 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate gchdb 0.2.8 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]      Locking 187 packages to latest compatible versions
[INFO] [stderr]       Adding cang-jie v0.13.0 (available: v0.18.0)
[INFO] [stderr]       Adding diesel v1.4.8 (available: v2.3.7)
[INFO] [stderr]       Adding diesel_migrations v1.4.0 (available: v2.3.1)
[INFO] [stderr]       Adding generic-array v0.14.7 (available: v0.14.9)
[INFO] [stderr]       Adding libsqlite3-sys v0.22.2 (available: v0.37.0)
[INFO] [stderr]       Adding tantivy v0.16.1 (available: v0.25.0)
[INFO] [stderr]       Adding thiserror v1.0.69 (available: v2.0.18)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded uuid v0.8.2
[INFO] [stderr]   Downloaded utf8-ranges v1.0.5
[INFO] [stderr]   Downloaded tantivy-query-grammar v0.15.0
[INFO] [stderr]   Downloaded getrandom v0.2.17
[INFO] [stderr]   Downloaded tantivy-common v0.1.0
[INFO] [stderr]   Downloaded futures-core v0.3.32
[INFO] [stderr]   Downloaded futures-macro v0.3.32
[INFO] [stderr]   Downloaded phf_codegen v0.11.3
[INFO] [stderr]   Downloaded siphasher v1.0.2
[INFO] [stderr]   Downloaded migrations_internals v1.4.1
[INFO] [stderr]   Downloaded futures-io v0.3.32
[INFO] [stderr]   Downloaded futures-task v0.3.32
[INFO] [stderr]   Downloaded cedarwood v0.4.6
[INFO] [stderr]   Downloaded migrations_macros v1.4.2
[INFO] [stderr]   Downloaded diesel_derives v1.4.1
[INFO] [stderr]   Downloaded twox-hash v1.6.3
[INFO] [stderr]   Downloaded crc32fast v1.5.0
[INFO] [stderr]   Downloaded base64 v0.13.1
[INFO] [stderr]   Downloaded typenum v1.19.0
[INFO] [stderr]   Downloaded rand v0.7.3
[INFO] [stderr]   Downloaded hashbrown v0.14.5
[INFO] [stderr]   Downloaded rayon-core v1.13.0
[INFO] [stderr]   Downloaded futures-util v0.3.32
[INFO] [stderr]   Downloaded diesel v1.4.8
[INFO] [stderr]   Downloaded rayon v1.11.0
[INFO] [stderr]   Downloaded combine v4.6.7
[INFO] [stderr]   Downloaded futures v0.3.32
[INFO] [stderr]   Downloaded htmlescape v0.3.1
[INFO] [stderr]   Downloaded regex-syntax v0.4.2
[INFO] [stderr]   Downloaded getrandom v0.1.16
[INFO] [stderr]   Downloaded futures-channel v0.3.32
[INFO] [stderr]   Downloaded ahash v0.7.8
[INFO] [stderr]   Downloaded memmap2 v0.3.1
[INFO] [stderr]   Downloaded r2d2 v0.8.10
[INFO] [stderr]   Downloaded bitpacking v0.8.4
[INFO] [stderr]   Downloaded tantivy v0.16.1
[INFO] [stderr]   Downloaded wasi v0.9.0+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded rand_core v0.5.1
[INFO] [stderr]   Downloaded fail v0.4.0
[INFO] [stderr]   Downloaded futures-executor v0.3.32
[INFO] [stderr]   Downloaded pin-project-lite v0.2.17
[INFO] [stderr]   Downloaded slab v0.4.12
[INFO] [stderr]   Downloaded downcast-rs v1.2.1
[INFO] [stderr]   Downloaded fastdivide v0.3.0
[INFO] [stderr]   Downloaded lru v0.6.6
[INFO] [stderr]   Downloaded murmurhash32 v0.2.0
[INFO] [stderr]   Downloaded ownedbytes v0.1.0
[INFO] [stderr]   Downloaded tantivy-bitpacker v0.1.1
[INFO] [stderr]   Downloaded cang-jie v0.13.0
[INFO] [stderr]   Downloaded diesel_migrations v1.4.0
[INFO] [stderr]   Downloaded crypto-common v0.1.7
[INFO] [stderr]   Downloaded sha3 v0.10.8
[INFO] [stderr]   Downloaded crunchy v0.2.4
[INFO] [stderr]   Downloaded census v0.4.2
[INFO] [stderr]   Downloaded rand_chacha v0.2.2
[INFO] [stderr]   Downloaded rand_hc v0.2.0
[INFO] [stderr]   Downloaded fs2 v0.4.3
[INFO] [stderr]   Downloaded futures-sink v0.3.32
[INFO] [stderr]   Downloaded scheduled-thread-pool v0.2.7
[INFO] [stderr]   Downloaded levenshtein_automata v0.2.1
[INFO] [stderr]   Downloaded keccak v0.1.6
[INFO] [stderr]   Downloaded measure_time v0.7.0
[INFO] [stderr]   Downloaded tantivy-fst v0.3.0
[INFO] [stderr]   Downloaded libsqlite3-sys v0.22.2
[INFO] [stderr]   Downloaded rust-stemmers v1.2.0
[INFO] [stderr]   Downloaded jieba-rs v0.6.8
[INFO] [stderr]   Downloaded fastfield_codecs v0.1.0
[INFO] [stderr]   Downloaded lz4_flex v0.8.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cb5ec001f942b2e0951e4fd4f9933413847d132548762b475f3ced1f2de069ad
[INFO] running `Command { std: "docker" "start" "-a" "cb5ec001f942b2e0951e4fd4f9933413847d132548762b475f3ced1f2de069ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cb5ec001f942b2e0951e4fd4f9933413847d132548762b475f3ced1f2de069ad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cb5ec001f942b2e0951e4fd4f9933413847d132548762b475f3ced1f2de069ad", kill_on_drop: false }`
[INFO] [stdout] cb5ec001f942b2e0951e4fd4f9933413847d132548762b475f3ced1f2de069ad
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 740d80aef90ce57a95e7000e39048623f79f001761d4aaafc2b2fd5b231778f3
[INFO] running `Command { std: "docker" "start" "-a" "740d80aef90ce57a95e7000e39048623f79f001761d4aaafc2b2fd5b231778f3", kill_on_drop: false }`
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]    Compiling memchr v2.8.0
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling siphasher v1.0.2
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling zerocopy v0.8.47
[INFO] [stderr]    Compiling scopeguard v1.2.0
[INFO] [stderr]    Compiling phf_shared v0.11.3
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling lock_api v0.4.14
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling typenum v1.19.0
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling libsqlite3-sys v0.22.2
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.18
[INFO] [stderr]    Compiling ahash v0.7.8
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling phf_generator v0.11.3
[INFO] [stderr]    Compiling rand_core v0.5.1
[INFO] [stderr]    Compiling crossbeam-deque v0.8.6
[INFO] [stderr]    Compiling aho-corasick v1.1.4
[INFO] [stderr]    Compiling scheduled-thread-pool v0.2.7
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling regex-syntax v0.8.10
[INFO] [stderr]    Compiling crunchy v0.2.4
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling rayon-core v1.13.0
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling r2d2 v0.8.10
[INFO] [stderr]    Compiling phf_codegen v0.11.3
[INFO] [stderr]    Compiling ppv-lite86 v0.2.21
[INFO] [stderr]    Compiling regex-automata v0.4.14
[INFO] [stderr]    Compiling rand_chacha v0.2.2
[INFO] [stderr]    Compiling either v1.15.0
[INFO] [stderr]    Compiling crc32fast v1.5.0
[INFO] [stderr]    Compiling serde_json v1.0.149
[INFO] [stderr]    Compiling static_assertions v1.1.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling twox-hash v1.6.3
[INFO] [stderr]    Compiling hashbrown v0.11.2
[INFO] [stderr]    Compiling rand v0.7.3
[INFO] [stderr]    Compiling diesel_derives v1.4.1
[INFO] [stderr]    Compiling jieba-rs v0.6.8
[INFO] [stderr]    Compiling futures-executor v0.3.32
[INFO] [stderr]    Compiling regex v1.12.3
[INFO] [stderr]    Compiling zmij v1.0.21
[INFO] [stderr]    Compiling crossbeam-channel v0.5.15
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling combine v4.6.7
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling tantivy-common v0.1.0
[INFO] [stderr]    Compiling itoa v1.0.18
[INFO] [stderr]    Compiling tantivy-bitpacker v0.1.1
[INFO] [stderr]    Compiling stable_deref_trait v1.2.1
[INFO] [stderr]    Compiling regex-syntax v0.4.2
[INFO] [stderr]    Compiling utf8-ranges v1.0.5
[INFO] [stderr]    Compiling fastfield_codecs v0.1.0
[INFO] [stderr]    Compiling ownedbytes v0.1.0
[INFO] [stderr]    Compiling tempfile v3.27.0
[INFO] [stderr]    Compiling tantivy-fst v0.3.0
[INFO] [stderr]    Compiling crossbeam v0.8.4
[INFO] [stderr]    Compiling rayon v1.11.0
[INFO] [stderr]    Compiling fail v0.4.0
[INFO] [stderr]    Compiling futures v0.3.32
[INFO] [stderr]    Compiling bitpacking v0.8.4
[INFO] [stderr]    Compiling uuid v0.8.2
[INFO] [stderr]    Compiling rust-stemmers v1.2.0
[INFO] [stderr]    Compiling lru v0.6.6
[INFO] [stderr]    Compiling lz4_flex v0.8.2
[INFO] [stderr]    Compiling itertools v0.10.5
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.7
[INFO] [stderr]    Compiling diesel v1.4.8
[INFO] [stderr]    Compiling phf v0.11.3
[INFO] [stderr]    Compiling cedarwood v0.4.6
[INFO] [stderr]    Compiling measure_time v0.7.0
[INFO] [stderr]    Compiling murmurhash32 v0.2.0
[INFO] [stderr]    Compiling fs2 v0.4.3
[INFO] [stderr]    Compiling fxhash v0.2.1
[INFO] [stderr]    Compiling memmap2 v0.3.1
[INFO] [stderr]    Compiling downcast-rs v1.2.1
[INFO] [stderr]    Compiling htmlescape v0.3.1
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling base64 v0.13.1
[INFO] [stderr]    Compiling anyhow v1.0.102
[INFO] [stderr]    Compiling census v0.4.2
[INFO] [stderr]    Compiling levenshtein_automata v0.2.1
[INFO] [stderr]    Compiling tantivy-query-grammar v0.15.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling fastdivide v0.3.0
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]    Compiling keccak v0.1.6
[INFO] [stderr]    Compiling sha3 v0.10.8
[INFO] [stderr]    Compiling tantivy v0.16.1
[INFO] [stderr]    Compiling migrations_internals v1.4.1
[INFO] [stderr]    Compiling cang-jie v0.13.0
[INFO] [stderr]    Compiling migrations_macros v1.4.2
[INFO] [stderr]    Compiling diesel_migrations v1.4.0
[INFO] [stderr]    Compiling gchdb v0.2.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `remove_blob`
[INFO] [stdout]  --> src/adapter/sqlite/mod.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | use blob::{get_blob, insert_blob, remove_blob};
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead
[INFO] [stdout]  --> src/utils.rs:6:30
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Local::now().naive_utc().timestamp_millis()
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_blob` is never used
[INFO] [stdout]   --> src/adapter/sqlite/blob.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn remove_blob(conn: &SqliteConnection, hash: i64) -> ChatRecordResult<usize> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AttachType` is never used
[INFO] [stdout]    --> src/types/mod.rs:104:10
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub enum AttachType {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     attachments (id) {
[INFO] [stdout] 3 | |         id -> Nullable<Integer>,
[INFO] [stdout] 4 | |         record_id -> Integer,
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | `table` is not local
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     attachments (id) {
[INFO] [stdout] 3 | |         id -> Nullable<Integer>,
[INFO] [stdout]   | |         -- `id` is not local
[INFO] [stdout] 4 | |         record_id -> Integer,
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     attachments (id) {
[INFO] [stdout] 3 | |         id -> Nullable<Integer>,
[INFO] [stdout] 4 | |         record_id -> Integer,
[INFO] [stdout]   | |         --------- `record_id` is not local
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_record_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     attachments (id) {
[INFO] [stdout] 3 | |         id -> Nullable<Integer>,
[INFO] [stdout] 4 | |         record_id -> Integer,
[INFO] [stdout] 5 | |         name -> Text,
[INFO] [stdout]   | |         ---- `name` is not local
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     attachments (id) {
[INFO] [stdout] 3 | |         id -> Nullable<Integer>,
[INFO] [stdout] 4 | |         record_id -> Integer,
[INFO] [stdout] 5 | |         name -> Text,
[INFO] [stdout] 6 | |         hash -> BigInt,
[INFO] [stdout]   | |         ---- `hash` is not local
[INFO] [stdout] 7 | |     }
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_hash`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     blobs (hash) {
[INFO] [stdout] 12 | |         hash -> BigInt,
[INFO] [stdout] 13 | |         blob -> Binary,
[INFO] [stdout] 14 | |     }
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     blobs (hash) {
[INFO] [stdout] 12 | |         hash -> BigInt,
[INFO] [stdout]    | |         ---- `hash` is not local
[INFO] [stdout] 13 | |         blob -> Binary,
[INFO] [stdout] 14 | |     }
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_hash`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     blobs (hash) {
[INFO] [stdout] 12 | |         hash -> BigInt,
[INFO] [stdout] 13 | |         blob -> Binary,
[INFO] [stdout]    | |         ---- `blob` is not local
[INFO] [stdout] 14 | |     }
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_blob`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout]    | |         --------- `chat_type` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_chat_type`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] 21 | |         owner_id -> Text,
[INFO] [stdout]    | |         -------- `owner_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_owner_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] 21 | |         owner_id -> Text,
[INFO] [stdout] 22 | |         group_id -> Text,
[INFO] [stdout]    | |         -------- `group_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_group_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |         sender_id -> Text,
[INFO] [stdout]    | |         --------- `sender_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_sender_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | |         sender_name -> Text,
[INFO] [stdout]    | |         ----------- `sender_name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_sender_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |         content -> Text,
[INFO] [stdout]    | |         ------- `content` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_content`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |         timestamp -> BigInt,
[INFO] [stdout]    | |         --------- `timestamp` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_timestamp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |         metadata -> Nullable<Binary>,
[INFO] [stdout]    | |         -------- `metadata` is not local
[INFO] [stdout] 28 | |     }
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_metadata`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/attach.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_attachment`
[INFO] [stdout] 4 | #[table_name = "attachments"]
[INFO] [stdout] 5 | pub struct Attachment {
[INFO] [stdout]   |            ---------- `Attachment` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/attach.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_attachment`
[INFO] [stdout] 4 | #[table_name = "attachments"]
[INFO] [stdout] 5 | pub struct Attachment {
[INFO] [stdout]   |            ---------- `Attachment` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/attach.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     -^^^^^^^^^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_attachment`
[INFO] [stdout] 4 | #[table_name = "attachments"]
[INFO] [stdout] 5 | pub struct Attachment {
[INFO] [stdout]   |            ---------- `Attachment` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/attach.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_attachment`
[INFO] [stdout] 4 | #[table_name = "attachments"]
[INFO] [stdout] 5 | pub struct Attachment {
[INFO] [stdout]   |            ---------- `Attachment` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/blob.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_blob`
[INFO] [stdout] 11 | #[table_name = "blobs"]
[INFO] [stdout] 12 | pub struct Blob {
[INFO] [stdout]    |            ---- `Blob` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/blob.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_blob`
[INFO] [stdout] 11 | #[table_name = "blobs"]
[INFO] [stdout] 12 | pub struct Blob {
[INFO] [stdout]    |            ---- `Blob` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/blob.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_blob`
[INFO] [stdout] 11 | #[table_name = "blobs"]
[INFO] [stdout] 12 | pub struct Blob {
[INFO] [stdout]    |            ---- `Blob` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/blob.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_blob`
[INFO] [stdout] 11 | #[table_name = "blobs"]
[INFO] [stdout] 12 | pub struct Blob {
[INFO] [stdout]    |            ---- `Blob` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/record.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_record`
[INFO] [stdout] 4 | #[table_name = "records"]
[INFO] [stdout] 5 | pub struct Record {
[INFO] [stdout]   |            ------ `Record` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/record.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_record`
[INFO] [stdout] 4 | #[table_name = "records"]
[INFO] [stdout] 5 | pub struct Record {
[INFO] [stdout]   |            ------ `Record` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/record.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     -^^^^^^^^^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_record`
[INFO] [stdout] 4 | #[table_name = "records"]
[INFO] [stdout] 5 | pub struct Record {
[INFO] [stdout]   |            ------ `Record` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/record.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_record`
[INFO] [stdout] 4 | #[table_name = "records"]
[INFO] [stdout] 5 | pub struct Record {
[INFO] [stdout]   |            ------ `Record` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: migrations_internals v1.4.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "740d80aef90ce57a95e7000e39048623f79f001761d4aaafc2b2fd5b231778f3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "740d80aef90ce57a95e7000e39048623f79f001761d4aaafc2b2fd5b231778f3", kill_on_drop: false }`
[INFO] [stdout] 740d80aef90ce57a95e7000e39048623f79f001761d4aaafc2b2fd5b231778f3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6999aa030f9cf19dcbe4f1e901c84225cfb5b790d3178f6f89db460a67267fe8
[INFO] running `Command { std: "docker" "start" "-a" "6999aa030f9cf19dcbe4f1e901c84225cfb5b790d3178f6f89db460a67267fe8", kill_on_drop: false }`
[INFO] [stdout] warning: unused import: `remove_blob`
[INFO] [stdout]  --> src/adapter/sqlite/mod.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | use blob::{get_blob, insert_blob, remove_blob};
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead
[INFO] [stdout]  --> src/utils.rs:6:30
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Local::now().naive_utc().timestamp_millis()
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_blob` is never used
[INFO] [stdout]   --> src/adapter/sqlite/blob.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn remove_blob(conn: &SqliteConnection, hash: i64) -> ChatRecordResult<usize> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AttachType` is never used
[INFO] [stdout]    --> src/types/mod.rs:104:10
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub enum AttachType {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     attachments (id) {
[INFO] [stdout] 3 | |         id -> Nullable<Integer>,
[INFO] [stdout] 4 | |         record_id -> Integer,
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | `table` is not local
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     attachments (id) {
[INFO] [stdout] 3 | |         id -> Nullable<Integer>,
[INFO] [stdout]   | |         -- `id` is not local
[INFO] [stdout] 4 | |         record_id -> Integer,
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     attachments (id) {
[INFO] [stdout] 3 | |         id -> Nullable<Integer>,
[INFO] [stdout] 4 | |         record_id -> Integer,
[INFO] [stdout]   | |         --------- `record_id` is not local
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_record_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     attachments (id) {
[INFO] [stdout] 3 | |         id -> Nullable<Integer>,
[INFO] [stdout] 4 | |         record_id -> Integer,
[INFO] [stdout] 5 | |         name -> Text,
[INFO] [stdout]   | |         ---- `name` is not local
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     attachments (id) {
[INFO] [stdout] 3 | |         id -> Nullable<Integer>,
[INFO] [stdout] 4 | |         record_id -> Integer,
[INFO] [stdout] 5 | |         name -> Text,
[INFO] [stdout] 6 | |         hash -> BigInt,
[INFO] [stdout]   | |         ---- `hash` is not local
[INFO] [stdout] 7 | |     }
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_hash`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     blobs (hash) {
[INFO] [stdout] 12 | |         hash -> BigInt,
[INFO] [stdout] 13 | |         blob -> Binary,
[INFO] [stdout] 14 | |     }
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     blobs (hash) {
[INFO] [stdout] 12 | |         hash -> BigInt,
[INFO] [stdout]    | |         ---- `hash` is not local
[INFO] [stdout] 13 | |         blob -> Binary,
[INFO] [stdout] 14 | |     }
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_hash`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     blobs (hash) {
[INFO] [stdout] 12 | |         hash -> BigInt,
[INFO] [stdout] 13 | |         blob -> Binary,
[INFO] [stdout]    | |         ---- `blob` is not local
[INFO] [stdout] 14 | |     }
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_blob`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout]    | |         --------- `chat_type` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_chat_type`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] 21 | |         owner_id -> Text,
[INFO] [stdout]    | |         -------- `owner_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_owner_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] 21 | |         owner_id -> Text,
[INFO] [stdout] 22 | |         group_id -> Text,
[INFO] [stdout]    | |         -------- `group_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_group_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |         sender_id -> Text,
[INFO] [stdout]    | |         --------- `sender_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_sender_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | |         sender_name -> Text,
[INFO] [stdout]    | |         ----------- `sender_name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_sender_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |         content -> Text,
[INFO] [stdout]    | |         ------- `content` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_content`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |         timestamp -> BigInt,
[INFO] [stdout]    | |         --------- `timestamp` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_timestamp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |         metadata -> Nullable<Binary>,
[INFO] [stdout]    | |         -------- `metadata` is not local
[INFO] [stdout] 28 | |     }
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_metadata`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/attach.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_attachment`
[INFO] [stdout] 4 | #[table_name = "attachments"]
[INFO] [stdout] 5 | pub struct Attachment {
[INFO] [stdout]   |            ---------- `Attachment` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/attach.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_attachment`
[INFO] [stdout] 4 | #[table_name = "attachments"]
[INFO] [stdout] 5 | pub struct Attachment {
[INFO] [stdout]   |            ---------- `Attachment` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/attach.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     -^^^^^^^^^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_attachment`
[INFO] [stdout] 4 | #[table_name = "attachments"]
[INFO] [stdout] 5 | pub struct Attachment {
[INFO] [stdout]   |            ---------- `Attachment` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/attach.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_attachment`
[INFO] [stdout] 4 | #[table_name = "attachments"]
[INFO] [stdout] 5 | pub struct Attachment {
[INFO] [stdout]   |            ---------- `Attachment` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/blob.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_blob`
[INFO] [stdout] 11 | #[table_name = "blobs"]
[INFO] [stdout] 12 | pub struct Blob {
[INFO] [stdout]    |            ---- `Blob` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/blob.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_blob`
[INFO] [stdout] 11 | #[table_name = "blobs"]
[INFO] [stdout] 12 | pub struct Blob {
[INFO] [stdout]    |            ---- `Blob` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/blob.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_blob`
[INFO] [stdout] 11 | #[table_name = "blobs"]
[INFO] [stdout] 12 | pub struct Blob {
[INFO] [stdout]    |            ---- `Blob` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/blob.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_blob`
[INFO] [stdout] 11 | #[table_name = "blobs"]
[INFO] [stdout] 12 | pub struct Blob {
[INFO] [stdout]    |            ---- `Blob` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/record.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_record`
[INFO] [stdout] 4 | #[table_name = "records"]
[INFO] [stdout] 5 | pub struct Record {
[INFO] [stdout]   |            ------ `Record` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/record.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_record`
[INFO] [stdout] 4 | #[table_name = "records"]
[INFO] [stdout] 5 | pub struct Record {
[INFO] [stdout]   |            ------ `Record` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/record.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     -^^^^^^^^^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_record`
[INFO] [stdout] 4 | #[table_name = "records"]
[INFO] [stdout] 5 | pub struct Record {
[INFO] [stdout]   |            ------ `Record` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/record.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_record`
[INFO] [stdout] 4 | #[table_name = "records"]
[INFO] [stdout] 5 | pub struct Record {
[INFO] [stdout]   |            ------ `Record` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling gchdb v0.2.8 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `remove_blob`
[INFO] [stdout]  --> src/adapter/sqlite/mod.rs:7:35
[INFO] [stdout]   |
[INFO] [stdout] 7 | use blob::{get_blob, insert_blob, remove_blob};
[INFO] [stdout]   |                                   ^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead
[INFO] [stdout]    --> src/adapter/sqlite/mod.rs:187:53
[INFO] [stdout]     |
[INFO] [stdout] 187 |         timestamp: chrono::Local::now().naive_utc().timestamp_millis(),
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead
[INFO] [stdout]    --> src/adapter/sqlite/mod.rs:198:53
[INFO] [stdout]     |
[INFO] [stdout] 198 |         timestamp: chrono::Local::now().naive_utc().timestamp_millis(),
[INFO] [stdout]     |                                                     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead
[INFO] [stdout]  --> src/utils.rs:6:30
[INFO] [stdout]   |
[INFO] [stdout] 6 |     Local::now().naive_utc().timestamp_millis()
[INFO] [stdout]   |                              ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `remove_blob` is never used
[INFO] [stdout]   --> src/adapter/sqlite/blob.rs:30:8
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub fn remove_blob(conn: &SqliteConnection, hash: i64) -> ChatRecordResult<usize> {
[INFO] [stdout]    |        ^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `AttachType` is never used
[INFO] [stdout]    --> src/types/mod.rs:104:10
[INFO] [stdout]     |
[INFO] [stdout] 104 | pub enum AttachType {
[INFO] [stdout]     |          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     attachments (id) {
[INFO] [stdout] 3 | |         id -> Nullable<Integer>,
[INFO] [stdout] 4 | |         record_id -> Integer,
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | | `table` is not local
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     attachments (id) {
[INFO] [stdout] 3 | |         id -> Nullable<Integer>,
[INFO] [stdout]   | |         -- `id` is not local
[INFO] [stdout] 4 | |         record_id -> Integer,
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     attachments (id) {
[INFO] [stdout] 3 | |         id -> Nullable<Integer>,
[INFO] [stdout] 4 | |         record_id -> Integer,
[INFO] [stdout]   | |         --------- `record_id` is not local
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_record_id`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     attachments (id) {
[INFO] [stdout] 3 | |         id -> Nullable<Integer>,
[INFO] [stdout] 4 | |         record_id -> Integer,
[INFO] [stdout] 5 | |         name -> Text,
[INFO] [stdout]   | |         ---- `name` is not local
[INFO] [stdout] ... |
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schema.rs:1:1
[INFO] [stdout]   |
[INFO] [stdout] 1 | / table! {
[INFO] [stdout] 2 | |     attachments (id) {
[INFO] [stdout] 3 | |         id -> Nullable<Integer>,
[INFO] [stdout] 4 | |         record_id -> Integer,
[INFO] [stdout] 5 | |         name -> Text,
[INFO] [stdout] 6 | |         hash -> BigInt,
[INFO] [stdout]   | |         ---- `hash` is not local
[INFO] [stdout] 7 | |     }
[INFO] [stdout] 8 | | }
[INFO] [stdout]   | | ^
[INFO] [stdout]   | | |
[INFO] [stdout]   | |_`QueryId` is not local
[INFO] [stdout]   |   move the `impl` block outside of this function `_impl_query_id_for_hash`
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     blobs (hash) {
[INFO] [stdout] 12 | |         hash -> BigInt,
[INFO] [stdout] 13 | |         blob -> Binary,
[INFO] [stdout] 14 | |     }
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     blobs (hash) {
[INFO] [stdout] 12 | |         hash -> BigInt,
[INFO] [stdout]    | |         ---- `hash` is not local
[INFO] [stdout] 13 | |         blob -> Binary,
[INFO] [stdout] 14 | |     }
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_hash`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:10:1
[INFO] [stdout]    |
[INFO] [stdout] 10 | / table! {
[INFO] [stdout] 11 | |     blobs (hash) {
[INFO] [stdout] 12 | |         hash -> BigInt,
[INFO] [stdout] 13 | |         blob -> Binary,
[INFO] [stdout]    | |         ---- `blob` is not local
[INFO] [stdout] 14 | |     }
[INFO] [stdout] 15 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_blob`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | | `table` is not local
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout]    | |         -- `id` is not local
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout]    | |         --------- `chat_type` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_chat_type`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] 21 | |         owner_id -> Text,
[INFO] [stdout]    | |         -------- `owner_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_owner_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] 21 | |         owner_id -> Text,
[INFO] [stdout] 22 | |         group_id -> Text,
[INFO] [stdout]    | |         -------- `group_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_group_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 23 | |         sender_id -> Text,
[INFO] [stdout]    | |         --------- `sender_id` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_sender_id`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 24 | |         sender_name -> Text,
[INFO] [stdout]    | |         ----------- `sender_name` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_sender_name`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 25 | |         content -> Text,
[INFO] [stdout]    | |         ------- `content` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_content`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 26 | |         timestamp -> BigInt,
[INFO] [stdout]    | |         --------- `timestamp` is not local
[INFO] [stdout] ...  |
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_timestamp`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schema.rs:17:1
[INFO] [stdout]    |
[INFO] [stdout] 17 | / table! {
[INFO] [stdout] 18 | |     records (id) {
[INFO] [stdout] 19 | |         id -> Nullable<Integer>,
[INFO] [stdout] 20 | |         chat_type -> Text,
[INFO] [stdout] ...  |
[INFO] [stdout] 27 | |         metadata -> Nullable<Binary>,
[INFO] [stdout]    | |         -------- `metadata` is not local
[INFO] [stdout] 28 | |     }
[INFO] [stdout] 29 | | }
[INFO] [stdout]    | | ^
[INFO] [stdout]    | | |
[INFO] [stdout]    | |_`QueryId` is not local
[INFO] [stdout]    |   move the `impl` block outside of this function `_impl_query_id_for_metadata`
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/attach.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_attachment`
[INFO] [stdout] 4 | #[table_name = "attachments"]
[INFO] [stdout] 5 | pub struct Attachment {
[INFO] [stdout]   |            ---------- `Attachment` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/attach.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_attachment`
[INFO] [stdout] 4 | #[table_name = "attachments"]
[INFO] [stdout] 5 | pub struct Attachment {
[INFO] [stdout]   |            ---------- `Attachment` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/attach.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     -^^^^^^^^^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_attachment`
[INFO] [stdout] 4 | #[table_name = "attachments"]
[INFO] [stdout] 5 | pub struct Attachment {
[INFO] [stdout]   |            ---------- `Attachment` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/attach.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_attachment`
[INFO] [stdout] 4 | #[table_name = "attachments"]
[INFO] [stdout] 5 | pub struct Attachment {
[INFO] [stdout]   |            ---------- `Attachment` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/blob.rs:10:10
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]    |          ^--------
[INFO] [stdout]    |          |
[INFO] [stdout]    |          `Queryable` is not local
[INFO] [stdout]    |          move the `impl` block outside of this function `_impl_queryable_for_blob`
[INFO] [stdout] 11 | #[table_name = "blobs"]
[INFO] [stdout] 12 | pub struct Blob {
[INFO] [stdout]    |            ---- `Blob` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/blob.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_blob`
[INFO] [stdout] 11 | #[table_name = "blobs"]
[INFO] [stdout] 12 | pub struct Blob {
[INFO] [stdout]    |            ---- `Blob` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/blob.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]    |                     -^^^^^^^^^
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `Insertable` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_blob`
[INFO] [stdout] 11 | #[table_name = "blobs"]
[INFO] [stdout] 12 | pub struct Blob {
[INFO] [stdout]    |            ---- `Blob` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/types/blob.rs:10:21
[INFO] [stdout]    |
[INFO] [stdout] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]    |                     ^---------
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]    |                     `table` is not local
[INFO] [stdout]    |                     move the `impl` block outside of this function `_impl_insertable_for_blob`
[INFO] [stdout] 11 | #[table_name = "blobs"]
[INFO] [stdout] 12 | pub struct Blob {
[INFO] [stdout]    |            ---- `Blob` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/record.rs:3:10
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |          ^--------
[INFO] [stdout]   |          |
[INFO] [stdout]   |          `Queryable` is not local
[INFO] [stdout]   |          move the `impl` block outside of this function `_impl_queryable_for_record`
[INFO] [stdout] 4 | #[table_name = "records"]
[INFO] [stdout] 5 | pub struct Record {
[INFO] [stdout]   |            ------ `Record` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/record.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_record`
[INFO] [stdout] 4 | #[table_name = "records"]
[INFO] [stdout] 5 | pub struct Record {
[INFO] [stdout]   |            ------ `Record` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/record.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     -^^^^^^^^^
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `Insertable` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_record`
[INFO] [stdout] 4 | #[table_name = "records"]
[INFO] [stdout] 5 | pub struct Record {
[INFO] [stdout]   |            ------ `Record` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/types/record.rs:3:21
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stdout]   |                     ^---------
[INFO] [stdout]   |                     |
[INFO] [stdout]   |                     `UndecoratedInsertRecord` is not local
[INFO] [stdout]   |                     `table` is not local
[INFO] [stdout]   |                     move the `impl` block outside of this function `_impl_insertable_for_record`
[INFO] [stdout] 4 | #[table_name = "records"]
[INFO] [stdout] 5 | pub struct Record {
[INFO] [stdout]   |            ------ `Record` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 4.18s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: migrations_internals v1.4.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] running `Command { std: "docker" "inspect" "6999aa030f9cf19dcbe4f1e901c84225cfb5b790d3178f6f89db460a67267fe8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6999aa030f9cf19dcbe4f1e901c84225cfb5b790d3178f6f89db460a67267fe8", kill_on_drop: false }`
[INFO] [stdout] 6999aa030f9cf19dcbe4f1e901c84225cfb5b790d3178f6f89db460a67267fe8
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] 55d34e9bc24907534d662b2fb094a4960653e3f44462642dd96dc1aca0675a9b
[INFO] running `Command { std: "docker" "start" "-a" "55d34e9bc24907534d662b2fb094a4960653e3f44462642dd96dc1aca0675a9b", kill_on_drop: false }`
[INFO] [stderr] warning: unused import: `remove_blob`
[INFO] [stderr]  --> src/adapter/sqlite/mod.rs:7:35
[INFO] [stderr]   |
[INFO] [stderr] 7 | use blob::{get_blob, insert_blob, remove_blob};
[INFO] [stderr]   |                                   ^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead
[INFO] [stderr]  --> src/utils.rs:6:30
[INFO] [stderr]   |
[INFO] [stderr] 6 |     Local::now().naive_utc().timestamp_millis()
[INFO] [stderr]   |                              ^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `remove_blob` is never used
[INFO] [stderr]   --> src/adapter/sqlite/blob.rs:30:8
[INFO] [stderr]    |
[INFO] [stderr] 30 | pub fn remove_blob(conn: &SqliteConnection, hash: i64) -> ChatRecordResult<usize> {
[INFO] [stderr]    |        ^^^^^^^^^^^
[INFO] [stderr]    |
[INFO] [stderr]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: enum `AttachType` is never used
[INFO] [stderr]    --> src/types/mod.rs:104:10
[INFO] [stderr]     |
[INFO] [stderr] 104 | pub enum AttachType {
[INFO] [stderr]     |          ^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     attachments (id) {
[INFO] [stderr] 3 | |         id -> Nullable<Integer>,
[INFO] [stderr] 4 | |         record_id -> Integer,
[INFO] [stderr] ... |
[INFO] [stderr] 8 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | | `table` is not local
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stderr]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     attachments (id) {
[INFO] [stderr] 3 | |         id -> Nullable<Integer>,
[INFO] [stderr]   | |         -- `id` is not local
[INFO] [stderr] 4 | |         record_id -> Integer,
[INFO] [stderr] ... |
[INFO] [stderr] 8 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     attachments (id) {
[INFO] [stderr] 3 | |         id -> Nullable<Integer>,
[INFO] [stderr] 4 | |         record_id -> Integer,
[INFO] [stderr]   | |         --------- `record_id` is not local
[INFO] [stderr] ... |
[INFO] [stderr] 8 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_record_id`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     attachments (id) {
[INFO] [stderr] 3 | |         id -> Nullable<Integer>,
[INFO] [stderr] 4 | |         record_id -> Integer,
[INFO] [stderr] 5 | |         name -> Text,
[INFO] [stderr]   | |         ---- `name` is not local
[INFO] [stderr] ... |
[INFO] [stderr] 8 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_name`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/schema.rs:1:1
[INFO] [stderr]   |
[INFO] [stderr] 1 | / table! {
[INFO] [stderr] 2 | |     attachments (id) {
[INFO] [stderr] 3 | |         id -> Nullable<Integer>,
[INFO] [stderr] 4 | |         record_id -> Integer,
[INFO] [stderr] 5 | |         name -> Text,
[INFO] [stderr] 6 | |         hash -> BigInt,
[INFO] [stderr]   | |         ---- `hash` is not local
[INFO] [stderr] 7 | |     }
[INFO] [stderr] 8 | | }
[INFO] [stderr]   | | ^
[INFO] [stderr]   | | |
[INFO] [stderr]   | |_`QueryId` is not local
[INFO] [stderr]   |   move the `impl` block outside of this function `_impl_query_id_for_hash`
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | / table! {
[INFO] [stderr] 11 | |     blobs (hash) {
[INFO] [stderr] 12 | |         hash -> BigInt,
[INFO] [stderr] 13 | |         blob -> Binary,
[INFO] [stderr] 14 | |     }
[INFO] [stderr] 15 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | | `table` is not local
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | / table! {
[INFO] [stderr] 11 | |     blobs (hash) {
[INFO] [stderr] 12 | |         hash -> BigInt,
[INFO] [stderr]    | |         ---- `hash` is not local
[INFO] [stderr] 13 | |         blob -> Binary,
[INFO] [stderr] 14 | |     }
[INFO] [stderr] 15 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_hash`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:10:1
[INFO] [stderr]    |
[INFO] [stderr] 10 | / table! {
[INFO] [stderr] 11 | |     blobs (hash) {
[INFO] [stderr] 12 | |         hash -> BigInt,
[INFO] [stderr] 13 | |         blob -> Binary,
[INFO] [stderr]    | |         ---- `blob` is not local
[INFO] [stderr] 14 | |     }
[INFO] [stderr] 15 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_blob`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     records (id) {
[INFO] [stderr] 19 | |         id -> Nullable<Integer>,
[INFO] [stderr] 20 | |         chat_type -> Text,
[INFO] [stderr] ...  |
[INFO] [stderr] 29 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | | `table` is not local
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_table`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     records (id) {
[INFO] [stderr] 19 | |         id -> Nullable<Integer>,
[INFO] [stderr]    | |         -- `id` is not local
[INFO] [stderr] 20 | |         chat_type -> Text,
[INFO] [stderr] ...  |
[INFO] [stderr] 29 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_id`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     records (id) {
[INFO] [stderr] 19 | |         id -> Nullable<Integer>,
[INFO] [stderr] 20 | |         chat_type -> Text,
[INFO] [stderr]    | |         --------- `chat_type` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 29 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_chat_type`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     records (id) {
[INFO] [stderr] 19 | |         id -> Nullable<Integer>,
[INFO] [stderr] 20 | |         chat_type -> Text,
[INFO] [stderr] 21 | |         owner_id -> Text,
[INFO] [stderr]    | |         -------- `owner_id` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 29 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_owner_id`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     records (id) {
[INFO] [stderr] 19 | |         id -> Nullable<Integer>,
[INFO] [stderr] 20 | |         chat_type -> Text,
[INFO] [stderr] 21 | |         owner_id -> Text,
[INFO] [stderr] 22 | |         group_id -> Text,
[INFO] [stderr]    | |         -------- `group_id` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 29 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_group_id`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     records (id) {
[INFO] [stderr] 19 | |         id -> Nullable<Integer>,
[INFO] [stderr] 20 | |         chat_type -> Text,
[INFO] [stderr] ...  |
[INFO] [stderr] 23 | |         sender_id -> Text,
[INFO] [stderr]    | |         --------- `sender_id` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 29 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_sender_id`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     records (id) {
[INFO] [stderr] 19 | |         id -> Nullable<Integer>,
[INFO] [stderr] 20 | |         chat_type -> Text,
[INFO] [stderr] ...  |
[INFO] [stderr] 24 | |         sender_name -> Text,
[INFO] [stderr]    | |         ----------- `sender_name` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 29 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_sender_name`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     records (id) {
[INFO] [stderr] 19 | |         id -> Nullable<Integer>,
[INFO] [stderr] 20 | |         chat_type -> Text,
[INFO] [stderr] ...  |
[INFO] [stderr] 25 | |         content -> Text,
[INFO] [stderr]    | |         ------- `content` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 29 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_content`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     records (id) {
[INFO] [stderr] 19 | |         id -> Nullable<Integer>,
[INFO] [stderr] 20 | |         chat_type -> Text,
[INFO] [stderr] ...  |
[INFO] [stderr] 26 | |         timestamp -> BigInt,
[INFO] [stderr]    | |         --------- `timestamp` is not local
[INFO] [stderr] ...  |
[INFO] [stderr] 29 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_timestamp`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/schema.rs:17:1
[INFO] [stderr]    |
[INFO] [stderr] 17 | / table! {
[INFO] [stderr] 18 | |     records (id) {
[INFO] [stderr] 19 | |         id -> Nullable<Integer>,
[INFO] [stderr] 20 | |         chat_type -> Text,
[INFO] [stderr] ...  |
[INFO] [stderr] 27 | |         metadata -> Nullable<Binary>,
[INFO] [stderr]    | |         -------- `metadata` is not local
[INFO] [stderr] 28 | |     }
[INFO] [stderr] 29 | | }
[INFO] [stderr]    | | ^
[INFO] [stderr]    | | |
[INFO] [stderr]    | |_`QueryId` is not local
[INFO] [stderr]    |   move the `impl` block outside of this function `_impl_query_id_for_metadata`
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `QueryId` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `QueryId` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `QueryId` which comes from the expansion of the macro `table` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/types/attach.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stderr]   |          ^--------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `Queryable` is not local
[INFO] [stderr]   |          move the `impl` block outside of this function `_impl_queryable_for_attachment`
[INFO] [stderr] 4 | #[table_name = "attachments"]
[INFO] [stderr] 5 | pub struct Attachment {
[INFO] [stderr]   |            ---------- `Attachment` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/types/attach.rs:3:21
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stderr]   |                     ^---------
[INFO] [stderr]   |                     |
[INFO] [stderr]   |                     `Insertable` is not local
[INFO] [stderr]   |                     `table` is not local
[INFO] [stderr]   |                     move the `impl` block outside of this function `_impl_insertable_for_attachment`
[INFO] [stderr] 4 | #[table_name = "attachments"]
[INFO] [stderr] 5 | pub struct Attachment {
[INFO] [stderr]   |            ---------- `Attachment` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/types/attach.rs:3:21
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stderr]   |                     -^^^^^^^^^
[INFO] [stderr]   |                     |
[INFO] [stderr]   |                     `Insertable` is not local
[INFO] [stderr]   |                     `table` is not local
[INFO] [stderr]   |                     move the `impl` block outside of this function `_impl_insertable_for_attachment`
[INFO] [stderr] 4 | #[table_name = "attachments"]
[INFO] [stderr] 5 | pub struct Attachment {
[INFO] [stderr]   |            ---------- `Attachment` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/types/attach.rs:3:21
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stderr]   |                     ^---------
[INFO] [stderr]   |                     |
[INFO] [stderr]   |                     `UndecoratedInsertRecord` is not local
[INFO] [stderr]   |                     `table` is not local
[INFO] [stderr]   |                     move the `impl` block outside of this function `_impl_insertable_for_attachment`
[INFO] [stderr] 4 | #[table_name = "attachments"]
[INFO] [stderr] 5 | pub struct Attachment {
[INFO] [stderr]   |            ---------- `Attachment` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/types/blob.rs:10:10
[INFO] [stderr]    |
[INFO] [stderr] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stderr]    |          ^--------
[INFO] [stderr]    |          |
[INFO] [stderr]    |          `Queryable` is not local
[INFO] [stderr]    |          move the `impl` block outside of this function `_impl_queryable_for_blob`
[INFO] [stderr] 11 | #[table_name = "blobs"]
[INFO] [stderr] 12 | pub struct Blob {
[INFO] [stderr]    |            ---- `Blob` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/types/blob.rs:10:21
[INFO] [stderr]    |
[INFO] [stderr] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stderr]    |                     ^---------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Insertable` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_blob`
[INFO] [stderr] 11 | #[table_name = "blobs"]
[INFO] [stderr] 12 | pub struct Blob {
[INFO] [stderr]    |            ---- `Blob` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/types/blob.rs:10:21
[INFO] [stderr]    |
[INFO] [stderr] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stderr]    |                     -^^^^^^^^^
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `Insertable` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_blob`
[INFO] [stderr] 11 | #[table_name = "blobs"]
[INFO] [stderr] 12 | pub struct Blob {
[INFO] [stderr]    |            ---- `Blob` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]   --> src/types/blob.rs:10:21
[INFO] [stderr]    |
[INFO] [stderr] 10 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stderr]    |                     ^---------
[INFO] [stderr]    |                     |
[INFO] [stderr]    |                     `UndecoratedInsertRecord` is not local
[INFO] [stderr]    |                     `table` is not local
[INFO] [stderr]    |                     move the `impl` block outside of this function `_impl_insertable_for_blob`
[INFO] [stderr] 11 | #[table_name = "blobs"]
[INFO] [stderr] 12 | pub struct Blob {
[INFO] [stderr]    |            ---- `Blob` is not local
[INFO] [stderr]    |
[INFO] [stderr]    = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]    = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]    = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/types/record.rs:3:10
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stderr]   |          ^--------
[INFO] [stderr]   |          |
[INFO] [stderr]   |          `Queryable` is not local
[INFO] [stderr]   |          move the `impl` block outside of this function `_impl_queryable_for_record`
[INFO] [stderr] 4 | #[table_name = "records"]
[INFO] [stderr] 5 | pub struct Record {
[INFO] [stderr]   |            ------ `Record` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Queryable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Queryable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Queryable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/types/record.rs:3:21
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stderr]   |                     ^---------
[INFO] [stderr]   |                     |
[INFO] [stderr]   |                     `Insertable` is not local
[INFO] [stderr]   |                     `table` is not local
[INFO] [stderr]   |                     move the `impl` block outside of this function `_impl_insertable_for_record`
[INFO] [stderr] 4 | #[table_name = "records"]
[INFO] [stderr] 5 | pub struct Record {
[INFO] [stderr]   |            ------ `Record` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/types/record.rs:3:21
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stderr]   |                     -^^^^^^^^^
[INFO] [stderr]   |                     |
[INFO] [stderr]   |                     `Insertable` is not local
[INFO] [stderr]   |                     `table` is not local
[INFO] [stderr]   |                     move the `impl` block outside of this function `_impl_insertable_for_record`
[INFO] [stderr] 4 | #[table_name = "records"]
[INFO] [stderr] 5 | pub struct Record {
[INFO] [stderr]   |            ------ `Record` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stderr]  --> src/types/record.rs:3:21
[INFO] [stderr]   |
[INFO] [stderr] 3 | #[derive(Queryable, Insertable, Serialize, Deserialize, Clone, Debug, Default, PartialEq)]
[INFO] [stderr]   |                     ^---------
[INFO] [stderr]   |                     |
[INFO] [stderr]   |                     `UndecoratedInsertRecord` is not local
[INFO] [stderr]   |                     `table` is not local
[INFO] [stderr]   |                     move the `impl` block outside of this function `_impl_insertable_for_record`
[INFO] [stderr] 4 | #[table_name = "records"]
[INFO] [stderr] 5 | pub struct Record {
[INFO] [stderr]   |            ------ `Record` is not local
[INFO] [stderr]   |
[INFO] [stderr]   = note: the derive macro `Insertable` defines the non-local `impl`, and may need to be changed
[INFO] [stderr]   = note: the derive macro `Insertable` may come from an old version of the `diesel_derives` crate, try updating your dependency with `cargo update -p diesel_derives`
[INFO] [stderr]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stderr]   = note: this warning originates in the derive macro `Insertable` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead
[INFO] [stderr]    --> src/adapter/sqlite/mod.rs:187:53
[INFO] [stderr]     |
[INFO] [stderr] 187 |         timestamp: chrono::Local::now().naive_utc().timestamp_millis(),
[INFO] [stderr]     |                                                     ^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(deprecated)]` on by default
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead
[INFO] [stderr]    --> src/adapter/sqlite/mod.rs:198:53
[INFO] [stderr]     |
[INFO] [stderr] 198 |         timestamp: chrono::Local::now().naive_utc().timestamp_millis(),
[INFO] [stderr]     |                                                     ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: use of deprecated method `chrono::NaiveDateTime::timestamp_millis`: use `.and_utc().timestamp_millis()` instead
[INFO] [stderr]  --> src/utils.rs:6:30
[INFO] [stderr]   |
[INFO] [stderr] 6 |     Local::now().naive_utc().timestamp_millis()
[INFO] [stderr]   |                              ^^^^^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: `gchdb` (lib) generated 34 warnings (run `cargo fix --lib -p gchdb` to apply 1 suggestion)
[INFO] [stderr] warning: `gchdb` (lib test) generated 36 warnings (33 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s
[INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: migrations_internals v1.4.1
[INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/gchdb-f7a293c5a0782709)
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test adapter::sqlite::test_chat_record ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- adapter::sqlite::test_chat_record stdout ----
[INFO] [stdout] Error: ContextError(Failed to create pool
[INFO] [stdout] 
[INFO] [stdout] Caused by:
[INFO] [stdout]     timed out waiting for connection: Unable to open the database file
[INFO] [stdout] 
[INFO] [stdout] Stack backtrace:
[INFO] [stdout]    0: <r2d2::Error as anyhow::context::ext::StdError>::ext_context::<&str>
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/backtrace.rs:10:14
[INFO] [stdout]    1: <core::result::Result<r2d2::Pool<diesel::r2d2::ConnectionManager<diesel::sqlite::connection::SqliteConnection>>, r2d2::Error> as anyhow::Context<r2d2::Pool<diesel::r2d2::ConnectionManager<diesel::sqlite::connection::SqliteConnection>>, r2d2::Error>>::context::<&str>
[INFO] [stdout]              at /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/anyhow-1.0.102/src/context.rs:54:37
[INFO] [stdout]    2: <gchdb::adapter::sqlite::SqliteChatRecorder>::new::<&str>
[INFO] [stdout]              at ./src/adapter/sqlite/mod.rs:35:14
[INFO] [stdout]    3: gchdb::adapter::sqlite::test_chat_record
[INFO] [stdout]              at ./src/adapter/sqlite/mod.rs:177:23
[INFO] [stdout]    4: gchdb::adapter::sqlite::test_chat_record::{closure#0}
[INFO] [stdout]              at ./src/adapter/sqlite/mod.rs:176:26
[INFO] [stdout]    5: <gchdb::adapter::sqlite::test_chat_record::{closure#0} as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]    6: <fn() -> core::result::Result<(), alloc::string::String> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]    7: test::__rust_begin_short_backtrace::<core::result::Result<(), alloc::string::String>, fn() -> core::result::Result<(), alloc::string::String>>
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:663:18
[INFO] [stdout]    8: test::run_test_in_process::{closure#0}
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:74
[INFO] [stdout]    9: <core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   10: std::panicking::catch_unwind::do_call::<core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}>, core::result::Result<(), alloc::string::String>>
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   11: std::panicking::catch_unwind::<core::result::Result<(), alloc::string::String>, core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}>>
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   12: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<test::run_test_in_process::{closure#0}>, core::result::Result<(), alloc::string::String>>
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   13: test::run_test_in_process
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:27
[INFO] [stdout]   14: test::run_test::{closure#0}
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:607:43
[INFO] [stdout]   15: test::run_test::{closure#1}
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:637:41
[INFO] [stdout]   16: std::sys::backtrace::__rust_begin_short_backtrace::<test::run_test::{closure#1}, ()>
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   17: std::thread::lifecycle::spawn_unchecked::<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   18: <core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   19: std::panicking::catch_unwind::do_call::<core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   20: std::panicking::catch_unwind::<(), core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   21: std::panic::catch_unwind::<core::panic::unwind_safe::AssertUnwindSafe<std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   22: std::thread::lifecycle::spawn_unchecked::<test::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   23: <std::thread::lifecycle::spawn_unchecked<test::run_test::{closure#1}, ()>::{closure#1} as core::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24: <alloc::boxed::Box<dyn core::ops::function::FnOnce<(), Output = ()> + core::marker::Send> as core::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2240:9
[INFO] [stdout]   25: <std::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]              at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   26: <unknown>
[INFO] [stdout]   27: clone)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     adapter::sqlite::test_chat_record
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 30.05s
[INFO] [stdout] 
[INFO] [stderr] error: test failed, to rerun pass `--lib`
[INFO] running `Command { std: "docker" "inspect" "55d34e9bc24907534d662b2fb094a4960653e3f44462642dd96dc1aca0675a9b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55d34e9bc24907534d662b2fb094a4960653e3f44462642dd96dc1aca0675a9b", kill_on_drop: false }`
[INFO] [stdout] 55d34e9bc24907534d662b2fb094a4960653e3f44462642dd96dc1aca0675a9b
